* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    color: #333;
    background-color: #D9D9D9;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Navbar */
.navbar {
    background-color: #575858;
    padding: 1rem 0;
    color: #FFFFFF;
    position: relative;
}

.navbar__container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar__logo {
    height: 50px;
    width: auto;
}

.navbar__menu .menu {
    list-style-type: none;
    display: flex;
    gap: 1rem;
    justify-content: center;
    align-items: center;
}

.menu__item .menu__link {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
    font-family: georgia;
}

.menu__link:hover {
    color: #C9BF55;
}
/* Popover Styles */
.popover {
    display: none;
    position: absolute;
    top: 100%; 
    left: 0; 
    transform: translateY(5px); 
    background-color: #FEFEFD;
    border-radius: 5px;
    z-index: 10;
    width: 150px;
    padding: 10px 0; 
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.popover-item {
    display: flex;
    padding: 8px 16px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    justify-content: center;
}

.popover-item:hover {
    background-color: #f0f0f0;
}

.popover-item img {
    width: 20px;
    height: auto;
    margin-right: 8px;
}
.popover--visible {
    display: block;
}
.language {
    color: #575858;
}
.languagebutton {
    display: flex;
    align-items: center;
    border: none;
    border-radius: 5px;
    color: white;
    background-color: transparent;
    font-size: medium;
    cursor: pointer;
    transition: color 0.3s ease;
    position: relative;
    font-family: georgia;
}

.languagebutton:hover {
    color: #C9BF55;
}

.languageicon {
    width: 30px;
    height: auto;
    margin-left: 8px;
    margin-right: 8px;
}
.language-link {
    display: flex;
    align-items: center;
    text-decoration: none; 
    color: inherit; 
}

.language-link:hover {
    background-color: #f0f0f0; 
}
/* Submenu Styling */
.submenu {
    list-style: none;
    padding: 10px;
    margin: 0;
    background-color: #575858;
    position: absolute;
    top: 100%;
    left: 0;
    width: 200px;
    height: 0; 
    overflow: hidden; 
    opacity: 0;
    visibility: hidden;
    transition: height 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
    border-radius: 32px;
    z-index: 10;
}

.menu__hassubmenu {
    position: relative;
}

.submenu--visible {
    opacity: 1;
    visibility: visible;
    height: auto;
}

.submenu__item a {
    display: block;
    padding: 0.5rem 1rem;
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
    font-family: georgia;
}

.submenu__item a:hover {
    color: #C9BF55;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Banner */
.banner {
    position: relative;
    width: 100%;
    height: 65vh;
    background-color: #f5f5f5;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}
.banner__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
}
/* Main section */
.section__main {
    background-color: #575858;
    color: #FEFEFD;
    text-align: center;
    font-family: Georgia;
    padding-top: 2rem;
    padding-bottom: 2rem;
    margin: auto;
}
.main__title {
    font-weight: bold;
    font-size: 1.7rem;
    color: #98935C;
    text-align: center;
    font-family: georgia;
    margin-bottom: 2rem;
    margin-left: 2rem;
    margin-right: 2rem;
}
.main__text {
    font-weight: normal;
    line-height: 1.7;
    margin-left: 13%;
    margin-right: 13%;
}
.P1{
    margin-bottom: 2rem;
}
.P2{
    margin-bottom: 2rem;
}
/* employee introduction section */
.employee-introduction {
    text-align: center;
}

.employee-title {
    font-size: 1.7rem;
    margin-bottom: 4rem;
    margin-top: 4rem;
    color: #98935C;
    font-family: georgia;
}

.employee {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4rem;
    color: #FFFFFF;
    line-height: 1.7;
}

.employee-card {
    background: #575858;
    border-radius: 32px;
    padding: 2rem;
    max-width: 1200px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    align-items: center;
    gap: 2rem;
}

.employee-card.align-right .employee-image {
    order: 1;
}

.employee-card.align-left .employee-image {
    order: -1;
}

.employee-image {
    width: 270px;
    height: 460px;
    object-fit: cover;
    border-radius: 32px;
}

.employee-name {
    font-size: 1.5rem;
    color: #98935C;
    margin-bottom: 0.5rem;
    font-family: georgia;
}
.employee-subtitle {
    color: #C9BF55;
    font-weight: normal;
    font-size: 1rem;
    
}
.employee-description {
    font-size: 1rem;
    color: #FFFFFF;
    line-height: 1.7;
}

.employee-info.align-left {
    text-align: left;
    flex: 1;
    font-family: georgia;
}
.employee-info.align-right {
    text-align: right;
    flex: 1;
    font-family: georgia;
}
.employee-card {
  opacity: 0;
  transition: opacity 0.6s ease;
}

.employee-card.visible {
  opacity: 1;
}
/* Footer */
.footer {
    background-color: #575858;
    padding: 4rem 0;
    color: #fff;
    text-align: left;
    font-family: georgia;
    list-style: none;
    margin-top: 4rem;
}
.footer__container {
    display: flex;
    align-items: center; 
    gap: 2rem; 
}
.footer__grid {
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
}
.footer__icon {
    height: 40px;
    width: auto;
}
.footer__logo {
    height: 80px;
    width: auto;
    margin-right: auto; 
}
.footer__info {
    color: #fff;
    text-decoration: none;
    list-style: none;
}
.footer__link {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
    list-style: none;
}
.footer__info p, 
.footer__info li { 
    margin-bottom: 9px; 
}
@media screen and (max-width: 550px) {
    .mobile-menu{
        width: 40% !important;
    }
}
@media screen and (max-width: 420px) {
    .mobile-menu{
        width: 50% !important;
    }
}
@media screen and (max-width: 330px) {
    .mobile-menu{
        width: 60% !important;
    }
}
@media screen and (max-width: 743px) {
    .employee-card{
        flex-direction: column;
    }
    .employee-image{
        width: 100%;
    }
}
@media screen and (max-width: 800px) {
    .navbar__menu,
    .navbar__item {
        display: none;
    }
    .navbar {
        padding: 0.5rem 0;
    }
    .navbar__logo {
        height: 40px;
        width: auto;
    }

    .burger-menu {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 30px;
        height: 25px;
        cursor: pointer;
    }

    .burger-menu div {
        background-color: #fff;
        height: 3px;
        border-radius: 3px;
        transition: all 0.3s ease;
    }

    .burger-menu.open div:nth-child(1) {
        transform: rotate(45deg) translate(10px, 10px);
    }

    .burger-menu.open div:nth-child(2) {
        opacity: 0;
    }

    .burger-menu.open div:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

    .mobile-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%; 
        right: 0;
        background-color: #4A4A4A;
        width: 30%;
        padding: 1rem;
        z-index: 999;
        border-bottom-left-radius: 25px;
    }

    .mobile-menu.open {
        display: flex;
        align-items: flex-end;
    }

    .mobile-menu a {
        color: white;
        text-decoration: none;
        padding: 10px 0;
        font-family: Georgia, serif;
        transition: color 0.3s;
        text-align: right;
    }

    .mobile-menu a:hover {
        color: #C9BF55;
    }
    .banner {
        height: 30vh !important;
    }
    .main__title{
        margin-bottom: 0;
        margin-top: 0;
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    .main__text {
        line-height: 1.2;
        font-size: small;
        margin-left: 20px;
        margin-right: 20px;
    }
    .P1{
        margin-bottom: 1rem;
    }
    .P2{
        margin-bottom: 1rem;
    }
    .employee-title{
        margin-top: 2rem;
        margin-bottom: 2rem;
        font-size: medium;

    }
    .employee{
        gap: 2rem;
    }
    .employee-name{
        font-size: medium;
    }
    .employee-card{
        padding: 1rem;
        gap: 1rem;
    }
    .employee-introduction{
        font-size: small;
        line-height: 1.2;
    }
    .employee-description{
        font-size: small;
        line-height: 1.2;
    }
    .employee-subtitle {
    font-size: small;
    }
    .footer {
        margin-top: 2rem !important; 
        text-align: center; 
        padding: 2rem 0 !important; 
    }
    .footer__container {
        flex-direction: column; 
        gap: 1.5rem; 
        align-items: center; 
    }
    .footer__grid {
        flex-direction: column; 
        align-items: center; 
    }
    .footer__logo {
        height: 60px !important; 
        margin-right: 0 !important;
    }
    .footer__info {
        text-align: center;
        font-size: small;
        line-height: 1.2; 
    }
    .footer__link {
        text-align: center; 
    }
}

@media screen and (min-width: 801px) {
    .burger-menu {
        display: none;
    }
    .mobile-menu {
        display: none;
    }
}